import http from '../utils/http.js'

export const getCommodityPage = (params) => {
  return http.post('/commodity/getCommodityPage', params)
}
export const getCommodityDetails = (id) => {
  return http.get(`/commodity/getCommodityDetails/${id}`)
}
